package com.datam.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.datam.query.QueryCompanyJkDevice;
import com.datam.domain.CompanyJkDeviceDO;
@Mapper
public interface CompanyJkDeviceDAO {

	public CompanyJkDeviceDO selectCompanyJkDeviceById(@Param("id")Long id);

	public List< CompanyJkDeviceDO > selectCompanyJkDeviceList(QueryCompanyJkDevice queryCompanyJkDevice);

	public Integer countCompanyJkDeviceList(QueryCompanyJkDevice queryCompanyJkDevice);

	public int insertCompanyJkDevice(CompanyJkDeviceDO companyJkDeviceDO);

	public int updateCompanyJkDeviceById(CompanyJkDeviceDO companyJkDeviceDO);
	
	public List<String> selectDistinctList(QueryCompanyJkDevice queryCompanyJkDevice);

	public int deleteById(@Param("id")long id);

}

